<template>
  <div id="app">
      <el-menu router :default-active="$route.path" mode="horizontal">
          <el-menu-item route index="/home">
              首页
          </el-menu-item>
          <el-menu-item route index="/shop">
              购物
          </el-menu-item>
          <el-menu-item route index="/todo">
              天气
          </el-menu-item>
          <el-menu-item route index="/counter">用法 </el-menu-item>
          <el-menu-item route index="/pictures"> 图片</el-menu-item>
          <el-menu-item route index="/testvue"> 测试</el-menu-item>
      </el-menu>
    <router-view></router-view>
  </div>
</template>

<script></script>

<style>
body {
  font-family: Ubuntu;
  color: #555;
}
</style>
